package drongo.desktop.undo
{

	/**
	 *操作记录链的数据节点 
	 * @author 杨宁
	 * 
	 */	
	public class OperationRecordNode
	{
		public var last:OperationRecordNode;
		public var next:OperationRecordNode;
		public var operation:IOperation;
		public function OperationRecordNode(last:OperationRecordNode=null,next:OperationRecordNode=null,operation:IOperation=null)
		{
			this.last=last;
			this.next=next;
			this.operation=operation;
		}
		public function destroy():void{
			this.last=null;
			this.next=null;
			this.operation.destroy();
		}
	}
}